package com.example.demowx.model;

import java.util.ArrayList;
import java.util.List;

/**
 * @author pengyifeng
 * @version 1.0.0
 * @ClassName PhotoOrAlbumButton.java
 * @Description 传图
 * @createTime 2020年11月25日 14:42:00
 */
public class PhotoOrAlbumButton extends AbstractButon{
    private String type="pic_photo_or_album";
    private String key;
    private List<AbstractButon> sub_button = new ArrayList<>();

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public List<AbstractButon> getSub_button() {
        return sub_button;
    }

    public void setSub_button(List<AbstractButon> sub_button) {
        this.sub_button = sub_button;
    }
    public PhotoOrAlbumButton(String name,String key) {
        super(name);
        this.key=key;
    }
}
